﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="GenerateTask.aspx.cs" Inherits="Task_GenerateTask" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>生成任务</title>
    <link href="../css/f_css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #tblMain{width:100%; height:300px; min-height:300px; padding:5px;}
        #tblMain tr{height:20px; line-height:20px;}
        #tdRF{width:200px; vertical-align:top;}
        #tdDetail{vertical-align:top;}
        .selectedLink{color:#FF0000; font-weight:bold;}
    </style>
    <script language="javascript" type="text/javascript" src="../js/common.js"></script>
    <script language="javascript" type="text/javascript" src="../js/subMsg.js"></script>
    <script language="javascript" type="text/javascript">
        function changeSelectedLink(id) {
            var linklist = getx("divRFList", "a");
            for (var i = 0; i < linklist.length; i++) {
                if (linklist[i].id != id) {
                    linklist[i].className = "";
                }
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="titleText">
        生成任务
    </div>
    <div class="btdiv2">
            <asp:Button ID="btnSave" runat="server" CssClass="input00" Text="保存" 
                onclick="btnSave_Click" ValidationGroup="submit" />
            <asp:Button runat="server" ID="btnTest" Text="测试回传" onclick="btnTest_Click" />
    </div>
    <table id="tblMain">
        <tr>
            <td id="tdDetail">
                <asp:PlaceHolder ID="phCtrls" runat="server"></asp:PlaceHolder>
            </td>
            <td id="tdRF">
                收文列表<br />
                <div id="divRFList">
                <asp:Repeater ID="repRF" runat="server">
                    <ItemTemplate>
                        <asp:LinkButton runat="server" ID="lk" CommandArgument='<%# Eval("AID") + "," + Container.ItemIndex %>'
                            OnCommand="lkRFChanged_Command">
                            <%# GetDisplayName(Eval("CaseIndex"), Eval("RFName")) %>
                        </asp:LinkButton><br />
                    </ItemTemplate>
                </asp:Repeater>
                </div>
            </td>
        </tr>
    </table>
    
    </form>
</body>
</html>
